Einhugur Xml Plugin for Xojo

XPathQuery.EvaluateBoolean Method

Evaluates query to a Boolean result.

EvaluateBoolean(
   node as EinhugurXml.Node) as Boolean

Parameters

node
The node to run the XPath query on.

Returns

Boolean
Boolean result.

Remarks

Note that XPath queries can throw EinhugurXPathException.


var queryName as XPathQuery = new XPathQuery("concat(substring-before(@Filename, '_'), ' produces ', @OutputFileMasks)")

if queryNameValid.EvaluateBoolean(tool) then
    // Do something
end if

See Also

XPathQuery Class